package cn.lb.permission.mapper;


import cn.lb.permission.domain.Permission;
import cn.lb.permission.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper {
    void deleteAll();

    void insert(Permission permission);

    long loadTotal(PermissionQuery query);

    List<Permission> loadData(PermissionQuery query);

    List<Permission> selectpermissions();

    List<String> selectsns(Long employeeId);
}
